﻿using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WomanMotion.WebApi.Infrastructure.DataBaseCommon;
using WomanMotion.WebApi.Model.Dtos.Classify;
using WomanMotion.WebApi.Model.Dtos.SysConfig;
using WomanMotion.WebApi.Model.Entitys;
using WomanMotion.WebApi.Repository.IRepository;
using WomanMotion.WebApi.Repository.Repository;
using WomanMotion.WebApi.Service.IService;

namespace WomanMotion.WebApi.Service.Service
{
    public class SysConfigService : BaseCRUDService<SysConfig, SysConfigVM, UpdateSysConfigDTO, CreatedSysConfigDTO>, ISysConfigService
    {
        private readonly ISysConfigRepository _configRepository;

        public SysConfigService(ILogger<SysConfigService> logger, IMapper mapper, ISysConfigRepository configRepository, IHttpContextAccessor httpContext) : base(logger, mapper, configRepository, httpContext)
        {
            _configRepository = configRepository;
        }
    }
}